package com.chen.demo.javase;

import java.util.Arrays;
import java.util.LinkedList;
import java.util.List;
import java.util.Set;

/**
 * @author chenhongwei
 * @date 2019/11/24 16:43
 **/
public class Test {
    public static void main(String[] args) {
        int[] a ={1,2};
        Arrays.copyOf(a,4);
        System.out.println(Arrays.toString(a));
    }

}
